﻿<UserControl x:Class="Abhiruchi_Phase1.UC_HRM_EMPPersonal"
       xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
         mc:Ignorable="d"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:sys="clr-namespace:System;assembly=mscorlib" 
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"   xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" d:DesignWidth="916" d:DesignHeight="900" Loaded="UserControl_Loaded">
    <Grid HorizontalAlignment="Stretch"  Height="900" VerticalAlignment="Stretch" Width="Auto" ForceCursor="False">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="9" />
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="*"   MinWidth="100" />
            <ColumnDefinition Width="1" />
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="10" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="580*" />
            <RowDefinition Height="48*" />
        </Grid.RowDefinitions>
        <TextBox Height="25" HorizontalAlignment="Stretch" Margin="0,40,0,0" Name="txtFirstName" VerticalAlignment="Top" Grid.Column="2" FontFamily="Segoe UI" FontSize="12" Foreground="Black" FontWeight="Normal" Text="" FontStretch="Normal" TabIndex="1" />
        <Image ForceCursor="False" Height="188" Width="200" Stretch="Fill" Margin="8,40,0,0" Name="imgPhoto" VerticalAlignment="Top" Source="/Abhiruchi_Phase1;component/Images/photoD.png" Grid.Column="4" />
        <Image Height="188" Width="200" Stretch="Fill" Margin="8,40,0,0" Name="image1" VerticalAlignment="Top"  Grid.Column="4" />
        <TextBox Height="25" HorizontalAlignment="Stretch" Margin="0,76,0,0" Name="txtLastName" VerticalAlignment="Top" Grid.Column="2" FontFamily="Segoe UI" FontSize="12" Foreground="Black" FontWeight="Normal" TabIndex="2" />
        <RadioButton Content="Male" Height="14" Margin="2,112,0,0" Name="rdoMale" VerticalAlignment="Top" IsChecked="True" FontFamily="Segoe UI" FontSize="12" Grid.Column="2" HorizontalAlignment="Left" MaxHeight="100" FontWeight="Normal" Foreground="Black" TabIndex="3" />
        <RadioButton Content="Female" Height="18" HorizontalAlignment="Left" Margin="59,113,0,0" Name="rdoFemale" VerticalAlignment="Top" FontFamily="Segoe UI" FontSize="12" Grid.Column="2" FontWeight="Normal" Foreground="Black" TabIndex="4" />
        <TextBox Height="25" HorizontalAlignment="Stretch" Margin="0,178,0,0" Name="txtFatherName" VerticalAlignment="Top" Grid.Column="2" FontFamily="Segoe UI" FontSize="12" Foreground="Black" FontWeight="Normal" TabIndex="6" />

        <ComboBox  Height="25" HorizontalAlignment="Stretch" Margin="0,216,0,0" Name="cbMaritalStatus" VerticalAlignment="Top" SelectionChanged="cbMaritalStatus_SelectionChanged" Grid.Column="2" FontFamily="Segoe UI" FontSize="12" FontWeight="Normal"  IsEnabled="True" TabIndex="7">
            <ComboBoxItem Content="--SELECT--" IsSelected="True" />
            <ComboBoxItem Content="Single" />
            <ComboBoxItem Content="Married" />
            <ComboBoxItem Content="Widow" />
        </ComboBox>
        <TextBox Height="25" HorizontalAlignment="Stretch" Margin="0,253,0,0" Name="txtSpouseName" VerticalAlignment="Top" Grid.Column="2" FontFamily="Segoe UI" FontSize="12" Foreground="Black" FontWeight="Normal" TabIndex="8" />
        <Image Height="160" Width="200"  Margin="5,341,0,0" Name="imgFamilyPhoto"  Stretch="Fill" VerticalAlignment="Top"  Source="/Abhiruchi_Phase1;component/Images/family.png" Grid.Column="4" />
        <Rectangle  Height="14" HorizontalAlignment="Stretch" Margin="8,268,2,0" Name="SBar" VerticalAlignment="Top"  Grid.Column="4" Fill="#FF00C800" />
        <CheckBox Content="Active" Cursor="Arrow" Height="15" HorizontalAlignment="Left" Margin="0,290,0,0" Name="chkIsActive" VerticalAlignment="Top" Width="90" Click="chkIsActive_Click" MouseMove="chkIsActive_MouseMove" IsEnabled="True" IsThreeState="False" AllowDrop="False" ClickMode="Release" FontFamily="Segoe UI" Grid.Column="2" FontSize="12" FontWeight="Normal" Foreground="Black" TabIndex="9" />
        <TextBlock FontSize="12" FontWeight="Normal" HorizontalAlignment="Left" Margin="0,180,0,379" Name="lblFName" Text="Father Name" Width="93" FontFamily="Segoe UI" TextAlignment="Left" ForceCursor="False" Foreground="#FF504B4B" Grid.Column="1"></TextBlock>
        <TextBlock FontSize="12" FontWeight="Normal" Height="25" HorizontalAlignment="Left" Margin="0,78,0,0" Name="lblLName" Text="Last Name" VerticalAlignment="Top" Width="93" TextAlignment="Left" ForceCursor="False" Foreground="#FF504B4B" Grid.Column="1"></TextBlock>
        <TextBlock FontSize="12" FontWeight="Normal" Height="25" HorizontalAlignment="Left" Margin="0,144,0,0" Name="lblDOB" Text="Date of Birth" VerticalAlignment="Top" Width="74" FontFamily="Segoe UI" TextAlignment="Left" ForceCursor="False" Foreground="#FF504B4B" Grid.Column="1"></TextBlock>
        <TextBlock FontSize="12" FontWeight="Normal" Height="25" HorizontalAlignment="Left" Margin="0,253,0,0" Name="lblSpouseName" Text="Spouse Name" VerticalAlignment="Top" Width="73" FontFamily="Segoe UI" TextAlignment="Left" ForceCursor="False" Foreground="#FF504B4B" Grid.Column="1"></TextBlock>
        <TextBlock FontSize="12" FontWeight="Normal" Height="25" HorizontalAlignment="Left" Margin="0,216,0,0" Name="lblMaritalStatus" Text="Marital Status" VerticalAlignment="Top" Width="104" FontFamily="Segoe UI" TextAlignment="Left" ForceCursor="False" Foreground="#FF504B4B" Grid.Column="1"></TextBlock>
        <TextBlock FontSize="12" FontWeight="Normal" Height="25" HorizontalAlignment="Left" Margin="0,42,0,0" Name="lblName" Text="First Name" VerticalAlignment="Top" Width="82" FontFamily="Segoe UI" TextAlignment="Left" ForceCursor="False" Foreground="#FF504B4B" Grid.Column="1"></TextBlock>
        <TextBlock FontSize="12" FontWeight="Bold" Height="25" HorizontalAlignment="Left" Margin="5,312,0,0" Name="lblFPhoto" Text="Family Photo" VerticalAlignment="Top" Width="103" FontFamily="Segoe UI" TextAlignment="Left" Foreground="#FF2554C7" Grid.Column="4" />
        <TextBlock FontSize="12" FontWeight="Normal" Height="25" HorizontalAlignment="Left" Margin="0,289,0,0" Name="lblStatus" Text="Status" VerticalAlignment="Top" Width="82" FontFamily="Segoe UI" TextAlignment="Left" ForceCursor="False" Foreground="#FF504B4B" Grid.Column="1"></TextBlock>
        <TextBlock FontSize="12" FontWeight="Bold" Height="25" HorizontalAlignment="Left" Margin="0,326,0,0" Name="lblDocs" Text="Documents" VerticalAlignment="Top" Width="82" FontFamily="Segoe UI" Foreground="#FF2554C7" Grid.Column="1" />
        <TextBlock FontWeight="Normal" Height="25" HorizontalAlignment="Left" Margin="5,400,0,0" Name="lblNProofNA" Text="" VerticalAlignment="Top" Width="Auto" FontSize="12" FontFamily="Segoe UI" TextAlignment="Left" Grid.Column="2" Foreground="#FF504B4B" />
        <TextBlock FontSize="12" FontWeight="Bold" Height="25" HorizontalAlignment="Left" Margin="0,445,0,0" Name="lblOthers" Text="Other Documents" VerticalAlignment="Top" Width="100" FontFamily="Segoe UI" Foreground="#FF2554C7" Grid.Column="1" />
        <TextBlock FontSize="12" FontWeight="Normal" Height="25" HorizontalAlignment="Left" Margin="2,400,0,0" Name="lblNTProof" Text="Native Proof" VerticalAlignment="Top" Width="102" FontFamily="Segoe UI" ForceCursor="False" Foreground="#FF504B4B" Grid.Column="1" />
        <TextBlock FontWeight="Normal" Height="25" HorizontalAlignment="Left" Margin="4,364,0,0" Name="lblIDNA" Text="" VerticalAlignment="Top" Width="AUTO" TextTrimming="CharacterEllipsis" FontSize="12" FontFamily="Segoe UI" TextAlignment="Left" Grid.Column="2" Foreground="#FF504B4B" />
        <TextBlock FontSize="12" FontWeight="Normal" Height="25" HorizontalAlignment="Left" Margin="2,364,0,0" Name="lblIDProof" Text="Identity Proof" VerticalAlignment="Top" Width="110" FontFamily="Segoe UI" ForceCursor="False" Foreground="#FF504B4B" Grid.Column="1" />
        <Button Content="Save" Cursor="Hand" FontWeight="Normal" Height="20" HorizontalAlignment="Left" Margin="8,609,0,0" Name="btnSave" VerticalAlignment="Top" Width="87" Click="btnSave_Click" FontSize="10" FontFamily="Segoe UI" Grid.Column="4" Visibility="Hidden" />
        <Button Content="Capture " Cursor="Hand" FontWeight="Normal" Height="20" HorizontalAlignment="Left" Margin="112,240,0,0" Name="btnCapture" VerticalAlignment="Top" Width="94" Click="btnCapture_Click" FontFamily="Segoe UI" FontSize="10" Grid.Column="4" TabIndex="11" />
        <Button Content="Next" Cursor="Hand" FontWeight="Normal" Height="20" HorizontalAlignment="Left" Margin="101,609,0,0" Name="btnNext" VerticalAlignment="Top" Width="95" Click="btnNext_Click" FontSize="10" FontFamily="Segoe UI" Grid.Column="4" Visibility="Hidden" />
        <Button Content="Upload" Cursor="Hand" FontWeight="Normal" Height="20" HorizontalAlignment="Left" Margin="8,240,0,0" Name="btnUpload" VerticalAlignment="Top" Width="94" Click="btnUpload_Click" FontFamily="Segoe UI" FontSize="10" Grid.Column="4" TabIndex="10" />
        <DatePicker Height="25" HorizontalAlignment="Stretch" Margin="0,141,0,0" VerticalAlignment="Top" Name="datePick"  IsEnabled="True" IsTodayHighlighted="True" SelectedDate="{x:Static sys:DateTime.Now}" SelectedDateFormat="Short" SelectedDateChanged="datePick_SelectedDateChanged" FontFamily="Segoe UI" FontSize="12" Grid.Column="2" FontWeight="Normal" Foreground="Black" TabIndex="5" />
        <Button Content="Upload" Height="20" HorizontalAlignment="Left" Margin="6,0,0,297" Name="btnUpLoadFamily" VerticalAlignment="Bottom" Width="89" Click="btnUpLoadFamily_Click" FontFamily="Segoe UI" FontSize="10" Grid.Column="4" FontWeight="Normal" TabIndex="14" />
        <Button Content="Remove" Height="20" HorizontalAlignment="Right" Margin="0,514,2,0" Name="btnRemove" VerticalAlignment="Top" Width="94" Click="btnRemove_Click" FontFamily="Segoe UI" FontSize="10" Grid.Column="4" FontWeight="Normal" />
        <Button Content="Upload" Height="20" HorizontalAlignment="Left" Margin="125,364,0,0" Name="UploadIDProof" VerticalAlignment="Top" Width="75" Click="UploadIDProof_Click" FontFamily="Segoe UI" FontSize="10" Grid.Column="2" FontWeight="Normal" TabIndex="12" />
        <Button Content="View" Height="20" HorizontalAlignment="Left" Margin="231,364,0,0" Name="ViewIdProof" VerticalAlignment="Top" Width="75" Click="ViewIdProof_Click" FontFamily="Segoe UI" FontSize="10" Grid.Column="2" FontWeight="Normal" />
        <Button Content="Remove" Height="20" HorizontalAlignment="Left" Margin="338,364,0,0" Name="RemoveIdProof" VerticalAlignment="Top" Width="75" Click="RemoveIdProof_Click" FontFamily="Segoe UI" FontSize="10" Grid.Column="2" FontWeight="Normal" />
        <Button Content="Upload" Height="20" HorizontalAlignment="Left" Margin="126,400,0,0" Name="btnUploadNp" VerticalAlignment="Top" Width="75" Click="btnUploadNp_Click" FontFamily="Segoe UI" FontSize="10" Grid.Column="2" FontWeight="Normal" TabIndex="13" />
        <Button Content="View" Height="20" HorizontalAlignment="Left" Margin="231,400,0,0" Name="btnViewNp" VerticalAlignment="Top" Width="75" Click="btnViewNp_Click" FontFamily="Segoe UI" FontSize="10" Grid.Column="2" FontWeight="Normal" />
        <Button Content="Remove" Height="20" HorizontalAlignment="Left" Margin="338,400,0,0" Name="btnRemoveNp" VerticalAlignment="Top" Width="75" Click="btnRemoveNp_Click" FontFamily="Segoe UI" FontSize="10" Grid.Column="2" FontWeight="Normal" />
        <Grid Height="Auto" HorizontalAlignment="Left" Margin="0,574,0,0" Name="grdDocuments" VerticalAlignment="Top" Width="522" Grid.ColumnSpan="2" Grid.Column="1" />
        <TextBox Height="25" HorizontalAlignment="Left" Margin="0,473,0,0" Name="txtDocName" VerticalAlignment="Top" Width="225" Text="Document Name" TextInput="txtDocName_TextInput" GotFocus="txtDocName_GotFocus" MaxLength="30" FontFamily="Segoe UI" TextChanged="txtDocName_TextChanged" FontSize="12" Grid.ColumnSpan="2" Foreground="Black" FontWeight="Normal" Grid.Column="1" TabIndex="15" />
        <Button Content="Upload" Height="20" HorizontalAlignment="Left" Margin="125,476,0,0" Name="Upload" VerticalAlignment="Top" Width="75" Click="Upload_Click" FontFamily="Segoe UI" FontSize="10" Grid.Column="2" FontWeight="Normal" TabIndex="16" />

        <ScrollViewer Height="320" HorizontalAlignment="Stretch" Margin="0,505,354,0" Name="scrollViewer1" VerticalAlignment="Top" Grid.ColumnSpan="2" Grid.Column="1"  Width="563">
            <Grid Height="AUTO"  HorizontalAlignment="Left" Margin="0,0,0,0" Name="grdDocs" VerticalAlignment="Top" Width="563" Grid.Row="2" />
        </ScrollViewer>
        <Label Content="Photo" Height="30" HorizontalAlignment="Left" Margin="8,6,0,0" Name="label2" VerticalAlignment="Top" Width="76" FontFamily="Segoe UI" FontWeight="Bold" Foreground="#FF2554FF" FontSize="12" Grid.Column="4" />
        <Label Height="28" HorizontalAlignment="Left" Margin="55,34,0,0" Name="lblNameVald" VerticalAlignment="Top" Width="18" Foreground="Red" Content="*" FontSize="12" Grid.Column="1" />
        <Label Foreground="Red" Height="28" HorizontalAlignment="Left" Margin="65,136,0,0" Name="lblDobVald" VerticalAlignment="Top" Width="18" Content="*" FontSize="12" Grid.Column="1" />
        <Label Foreground="Red" Height="28" HorizontalAlignment="Left" Margin="66,171,0,0" Name="lblFatherNameVald" VerticalAlignment="Top" Width="18" Content="*" FontSize="12" Grid.Column="1" />
        <Label Foreground="Red" Height="28" HorizontalAlignment="Left" Margin="70,208,0,0" Name="lblMStatusVald" VerticalAlignment="Top" Width="18" Content="*" FontSize="12" Grid.Column="1" />
        <Label Foreground="Red" Height="28" HorizontalAlignment="Left" Margin="76,259,0,0" Name="lblSpouseNameVald" VerticalAlignment="Top" Width="18" FontSize="12" Grid.Column="1" />
        <TextBlock FontSize="12" FontWeight="Normal" Height="25" HorizontalAlignment="Left" Margin="0,112,0,0" Name="lblGender" Text="Gender" VerticalAlignment="Top" Width="93" TextAlignment="Left" ForceCursor="False" Foreground="#FF504B4B" Grid.Column="1" />
        <TextBlock FontFamily="Segoe UI" FontSize="11" FontWeight="Bold" Foreground="#FF2554C7" Grid.Column="2" Grid.ColumnSpan="1" Height="25" HorizontalAlignment="Left" Margin="0,9,0,0" Name="lblEID" Text="" TextAlignment="Left" VerticalAlignment="Top" Width="577" />
        <TextBlock Grid.Column="1" Height="23" HorizontalAlignment="Left" Margin="0,9,0,0" Name="textBlock1" Text="Employee ID" VerticalAlignment="Top" Width="112" Foreground="#FF2554FF" FontWeight="Bold" />
        <Button Content="ftp test" Grid.Column="2" Height="23" HorizontalAlignment="Left" Margin="502,606,0,0" Name="ftpTest" VerticalAlignment="Top" Width="75" Grid.ColumnSpan="2" Click="ftpTest_Click" Visibility="Hidden" />
    </Grid>
</UserControl>
